<?php /* Smarty version 2.6.20, created on 2012-12-20 12:06:00
         compiled from admin_inc.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'admin_inc.htm', 45, false),array('modifier', 'explode', 'admin_inc.htm', 86, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php if ($this->_tpl_vars['title']): ?><?php echo $this->_tpl_vars['title']; ?>
 - <?php echo $this->_tpl_vars['config']['company']; ?>
<?php else: ?><?php echo $this->_tpl_vars['config']['title']; ?>
<?php endif; ?></title>
<meta name="description" content="<?php echo $this->_tpl_vars['config']['description']; ?>
">
<meta name="keywords" content="<?php echo $this->_tpl_vars['config']['keyword']; ?>
">
<meta name="generator" content="<?php echo $this->_tpl_vars['config']['version']; ?>
" />
<meta name="author" content="庆丰裕软件工作室" />
<meta name="copyright" content="庆丰裕软件工作室" />
<link href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/admin.css" rel="stylesheet" type="text/css" />
<?php if ($_GET['m'] != 'email' && $_GET['m'] != 'spider' && $_GET['s'] != 'admin_crm_list'): ?>
<script src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/script/prototype.js" type="text/javascript"></script>
<?php endif; ?>
<script src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/script/index.js" type="text/javascript"></script>
</head>
<div id="header" class="header">
<div class="header">
	<div class="alibaba">
		<div class="logo">
			<a style="text-decoration:none; color:#FFFFFF; font-size:30px; font-weight:bold;" href="?menu=<?php echo $_GET['menu']; ?>
&action=main&menu=main">
			商务助手
			</a>
		</div>
		<div class="user">
		您好，<?php echo $_COOKIE['USER']; ?>
&nbsp;<?php if ($_SESSION['USER_TYPE'] == 1): ?>(个人会员)<?php endif; ?>
		<a class="headerA" href="?menu=<?php echo $_GET['menu']; ?>
&action=logout"><?php echo $this->_tpl_vars['lang']['logout']; ?>
</a>
		</div>
		<div class="search">
			<div class="link">
			<a class="headerA" href="javascript:myAddPanel('<?php echo $this->_tpl_vars['config']['weburl']; ?>
','<?php echo $this->_tpl_vars['config']['company']; ?>
');">加入收藏</a> | 
			<a class="headerA" href=# onClick="setHomepage('<?php echo $this->_tpl_vars['config']['weburl']; ?>
');">设为首页</a>
			</div>
			<div class="form"></div>
		</div>
</div>

	<div class="header-nav">
		<div class="nav-l">&nbsp;</div>
		<div class="nav-m">
			<ul id="header-ul">
				<?php $_from = $this->_tpl_vars['menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['list']):
?>
					<li class="<?php if ($_GET['menu'] == $this->_tpl_vars['num']): ?>nav-f4_on<?php else: ?>nav-f<?php endif; ?>">
						<?php if (((is_array($_tmp=$this->_tpl_vars['list']['action'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 1, '') : smarty_modifier_truncate($_tmp, 1, '')) == '?'): ?>
							<a class="navA" href="<?php echo $this->_tpl_vars['list']['action']; ?>
"><?php echo $this->_tpl_vars['list']['name']; ?>
</a>
						<?php else: ?>
							<a class="navA" href="?action=<?php echo $this->_tpl_vars['list']['action']; ?>
&menu=<?php echo $this->_tpl_vars['num']; ?>
"><?php echo $this->_tpl_vars['list']['name']; ?>
</a>
						<?php endif; ?>
					</li>
					<li class="nav-g">&nbsp;</li>
				<?php endforeach; endif; unset($_from); ?>
			</ul>
			<ul id="header_m-ul" class="nav-m2">
			<li class="nav-f">
			<?php if ($_SESSION['IFPAY'] >= 1): ?>
				<?php if ($this->_tpl_vars['config']['opensuburl'] == 1): ?>
					<a class="navA" href="http://<?php echo $_COOKIE['USER']; ?>
.<?php echo $this->_tpl_vars['config']['baseurl']; ?>
" target="_blank"><?php echo $this->_tpl_vars['lang']['view_shop']; ?>
</a>
				<?php else: ?>
					<a class="navA" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/shop.php?uid=<?php echo $this->_tpl_vars['buid']; ?>
" target="_blank"><?php echo $this->_tpl_vars['lang']['view_shop']; ?>
</a>
				<?php endif; ?>
			<?php endif; ?>
			</li>
			<li class="nav-g">&nbsp;</li>
			<li class="nav-f"><a class="navA" href="index.php">返回首页</a></li>
			</ul>
		</div>
		<div class="nav-r">&nbsp;</div>
	</div>
	<div id="guidedetail" class="guidedetail"></div>
</div>
</div>



<div id="screen">
		<div class="screen-spc"></div>
		<!--new menu-->
		<div id="leftmenu">
				<div id="tree1">
					<div class="tree_item">
						<?php $_from = $this->_tpl_vars['submenu']['sub']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['list']):
?>
							<div class="tree_title_open"><a target="_blank"><?php echo $this->_tpl_vars['list']['name']; ?>
</a></div>
							<ul class="tree_list" style="display: block;">
								<?php $_from = $this->_tpl_vars['list']['action']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['akey'] => $this->_tpl_vars['slist']):
?>
									<?php $this->assign('gets', ((is_array($_tmp=$this->_tpl_vars['akey'])) ? $this->_run_mod_handler('explode', true, $_tmp, "&") : smarty_modifier_explode($_tmp, "&"))); ?>
									<li 
									<?php if ($_GET['action'] == $this->_tpl_vars['akey'] || in_array ( $_GET['type'] , $this->_tpl_vars['gets'] ) || in_array ( $_GET['s'] , $this->_tpl_vars['gets'] )): ?>
									id="tree_list_now"<?php endif; ?>class="tree_list">
										<?php if (((is_array($_tmp=$this->_tpl_vars['akey'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 1, '') : smarty_modifier_truncate($_tmp, 1, '')) == '?' || ((is_array($_tmp=$this->_tpl_vars['akey'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 4, '') : smarty_modifier_truncate($_tmp, 4, '')) == 'http'): ?>
										<a href="<?php echo $this->_tpl_vars['akey']; ?>
"><?php echo $this->_tpl_vars['slist']; ?>
</a>
										<?php else: ?>
										<a href="?menu=<?php echo $_GET['menu']; ?>
&action=<?php echo $this->_tpl_vars['akey']; ?>
&menu=<?php echo $_GET['menu']; ?>
"><?php echo $this->_tpl_vars['slist']; ?>
</a>
										<?php endif; ?>
									</li>
								<?php endforeach; endif; unset($_from); ?>
							</ul>
							<div class="content-spc"></div>
						<?php endforeach; endif; unset($_from); ?>
					</div>
					<div class="suggest">
						<div class="tree_title">客服中心</div>
						<div class="hotline_service">服务热线</div>
						<div class="hostline_num"><?php echo $this->_tpl_vars['config']['owntel']; ?>
</div>
						<div class="hotline_time">服务时间</div>
						<div class="hotline_time">8:30-17:30(周一至周日)</div>
					</div>
				</div>
		</div>
	    <!--content-->
		<div id="new-content">
		<script src='<?php echo $this->_tpl_vars['config']['weburl']; ?>
/api/ad.php?id=45&catid=<?php echo $_GET['id']; ?>
&sname=<?php echo $this->_tpl_vars['sname']; ?>
'></script>
		<?php echo $this->_tpl_vars['output']; ?>
</div>	
		<!--end/content-->	
	</div>
	
	<div style="border-top:3px solid #FF7300; line-height:200%; text-align:center; height:150px; margin-top:10px;">
		<ul><?php echo $this->_tpl_vars['web_con']; ?>
</ul>
		<div><?php echo $this->_tpl_vars['bt']; ?>
</div>
	</div>
</div>
</body>
</html>